package com.example.springboot.filter.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc
 * @Author wangsh
 * @date 2018/5/6 15:49
 * @return
 */
@RestController
public class FilterController {
	/**
	 * 请求映射：http://localhost:8080/helloServletTest
	 *
	 * @return
	 */
	@RequestMapping("/hello")
	public String hello() {
		System.out.println("测试filter过滤器...........");
		return "hello";
	}
}
